<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/cms/group/group" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>
  <div class="page">
    <div class="page-hd">
      <h1>分组管理</h1>
    </div>
    <div class="datas">
      <div class="datas-bd">
<table class="table">
        <thead>
          <tr>
            <th style="">
              <input type="checkbox" id="J_checkAll" />
            </th>
            <th style="">ID</th>
            <th style="">名称</th>
            <th style="">备注</th>
            <th style="">状态</th>
            <th style="">操作</th>
          </tr>
        </thead>
        <tbody>
          <volist name="list" id="group">
            <tr overstyle="on" id="{$group['id']}">
              <td>
                <input type="checkbox" name="checkbox" value="{$group['id']}" onclick="checkon(this);" />
              </td>
              <td>{$group['id']}</td>
              <td>{$group['name']}</td>
              <td>{$group['description']}</td>
              <td>
                <eq name="group.status" value="0">关闭
                  <else/>开启</eq>
              </td>
              <td>
                <a href="{:URL('cms/Group/addGroup',array('id'=>$group['id'],'sid'=>$sid,'type'=>$type))}" class="ico_top">修改</a> |
                <a href="javascript:del({$group['id']})" class="ico_top">删除</a>
              </td>
            </tr>
          </volist>
        </tbody>
      </table>
</div>
    </div>
    <div class="actions">
      <a href="{:URL('cms/Group/addGroup',array('sid'=>$sid,'type'=>$type))}" class="btn">添加分组</a>
      <a href="javascript:;" id="J_del">批量删除</a>
    </div>
  </div>
</body>
</html>
